package com.deram.ctin.serv.enter.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@ApiModel(description = "招聘信息")
public class EnterRecruit implements Serializable {

    @ApiModelProperty(value = "ID")
    private Long id;
    @ApiModelProperty(value = "职位")
    private String position;
    @ApiModelProperty(value = "薪资")
    private BigDecimal salary;
    @ApiModelProperty(value = "经验")
    private String experience;
    @ApiModelProperty(value = "地点")
    private String address;
    @ApiModelProperty(value = "学历")
    private String education;
    @ApiModelProperty(value = "发布日期")
    private Date publishDate;
    @ApiModelProperty(value = "企业ID")
    private Long enterId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position == null ? null : position.trim();
    }

    public BigDecimal getSalary() {
        return salary;
    }

    public void setSalary(BigDecimal salary) {
        this.salary = salary;
    }

    public String getExperience() {
        return experience;
    }

    public void setExperience(String experience) {
        this.experience = experience == null ? null : experience.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getEducation() {
        return education;
    }

    public void setEducation(String education) {
        this.education = education == null ? null : education.trim();
    }

    public Date getPublishDate() {
        return publishDate;
    }

    public void setPublishDate(Date publishDate) {
        this.publishDate = publishDate;
    }

    public Long getEnterId() {
        return enterId;
    }

    public void setEnterId(Long enterId) {
        this.enterId = enterId;
    }

    @Override
    public String toString() {
        return "EnterRecruit{" +
                "id=" + id +
                ", position='" + position + '\'' +
                ", salary=" + salary +
                ", experience='" + experience + '\'' +
                ", address='" + address + '\'' +
                ", education='" + education + '\'' +
                ", publishDate=" + publishDate +
                ", enterId=" + enterId +
                '}';
    }
}